package com.example.leetcode.design.listener;

import com.example.leetcode.design.listener.basic.Subscribe;

public class RegisterAction {


    @Subscribe
    public void register(String name){
        System.out.println("观察者模式：观察到用户：" + name +"完成注册");
    }
}
